Skip to content

chore(deps): bump trufflesecurity/trufflehog from 3.93.4 to 3.93.6#746

Open
dependabot[bot] wants to merge 4 commits intomasterfrom
dependabot/github_actions/trufflesecurity/trufflehog-3.93.6
Open

chore(deps): bump trufflesecurity/trufflehog from 3.93.4 to 3.93.6#746
dependabot[bot] wants to merge 4 commits intomasterfrom
dependabot/github_actions/trufflesecurity/trufflehog-3.93.6

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 3, 2026

Summary

Changes

Security

  • TruffleHog secret scanning updated to v3.93.6
  • MCP token scope enforcement added to tasks and channels API routes
  • CSV formula injection protection added to shared escapeCSVField utility

Integrations

  • New Slack provider adapter (4 tools: list_channels, list_messages, get_user_info, send_message)
  • New Notion provider adapter (6 tools: search, get/query database, get/create/update page)
  • Response validation for provider-specific error handling (e.g., Slack ok: false)
  • Audit log filters expanded (agentId, dateFrom, dateTo, toolName)
  • CSV export endpoint for integration audit logs
  • Agent integrations panel: tool access management UI (allowedTools badges)
  • Integration audit log page with filtering, pagination, and export

Code Quality

  • Audit filter parsing extracted to shared audit-filters.ts module
  • Export route uses shared generateCSV utility instead of hand-rolled CSV escaping
  • FiltersState.success typed as union instead of raw string

How to Validate

  1. Run pnpm test:unit — all tests should pass
  2. Verify Slack/Notion provider configs: cd packages/lib && npx vitest run src/integrations/
  3. Check tasks route tests: cd apps/web && npx vitest run "tasks/__tests__/route"
  4. Verify CSV export uses shared utility: check apps/web/src/app/api/drives/[driveId]/integrations/audit/export/route.ts

Bumps [trufflesecurity/trufflehog](https://github.com/trufflesecurity/trufflehog) from 3.93.4 to 3.93.6.
- [Release notes](https://github.com/trufflesecurity/trufflehog/releases)
- [Commits](trufflesecurity/trufflehog@v3.93.4...v3.93.6)

---
updated-dependencies:
- dependency-name: trufflesecurity/trufflehog
  dependency-version: 3.93.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Mar 3, 2026
Replace duplicate CSV escape functions in audit export routes with the
shared escapeCSVField utility from @pagespace/lib/content. This adds
formula injection protection (=, +, -, @ prefixes) to the admin
audit-logs export which was previously missing it.

Also cleans up the integration audit log UI: extract SuccessFilter type,
remove redundant formatDateShort wrapper, and extract filtersToSearchParams.
The MCP auth addition to the tasks route imported checkMCPPageScope
but the test mock for @/lib/auth did not include it, causing CI
unit test failures.
The test's beforeEach creates a user then immediately creates a session.
With parallel test files sharing the connection pool, a TOCTOU race can
cause the session INSERT to hit a different pool connection where the user
commit isn't yet visible, triggering an FK constraint violation.

- Add retry loop (3 attempts) around sessionService.createSession
- Clean up sessions before users in afterEach to respect FK ordering
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant